import * as echarts from 'echarts/core'
import {
  TooltipComponent,
  VisualMapComponent,
  LegendComponent,
  GridComponent,
  TitleComponent,
  GeoComponent,
  ToolboxComponent
} from 'echarts/components'
import { RadarChart, PieChart, BarChart, LineChart, LinesChart, EffectScatterChart } from 'echarts/charts'
import { CanvasRenderer } from 'echarts/renderers'
import { LabelLayout, UniversalTransition } from 'echarts/features'

echarts.use([
  TooltipComponent,
  VisualMapComponent,
  LegendComponent,
  RadarChart,
  CanvasRenderer,
  PieChart,
  LabelLayout,
  GridComponent,
  BarChart,
  TitleComponent,
  ToolboxComponent,
  UniversalTransition,
  LineChart,
  GeoComponent,
  LinesChart,
  EffectScatterChart
])
export default echarts
